package com.cyjf.dbview.model;

import javax.persistence.*;

@Table(name = "zscartm1jucom2.zscar_bazaar")
public class ZscarBazaar {
    @Id
    @Column(name = "bazaar_id")
    private Integer bazaarId;

    /**
     * 市场名称
     */
    @Column(name = "bazzar_title")
    private String bazzarTitle;

    /**
     * 市场描述
     */
    @Column(name = "bazzar_description")
    private String bazzarDescription;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Integer createTime;

    /**
     * 数据状态
     */
    private String status;

    /**
     * 所属省id
     */
    @Column(name = "bazzar_provinces")
    private Integer bazzarProvinces;

    /**
     * 所属市id
     */
    @Column(name = "bazzar_city")
    private Integer bazzarCity;

    /**
     * 所属区域id
     */
    @Column(name = "bazzar_districts")
    private Integer bazzarDistricts;

    /**
     * 详细地址
     */
    @Column(name = "bazzar_address")
    private String bazzarAddress;

    /**
     * 经度
     */
    @Column(name = "bazzar_lng")
    private String bazzarLng;

    /**
     * 纬度座标
     */
    @Column(name = "bazzar_lat")
    private String bazzarLat;

    /**
     * 0:自营市场 1:合作方市场
     */
    private String category;

    @Column(name = "dealer_count")
    private String dealerCount;

    @Column(name = "parking_count")
    private String parkingCount;

    @Column(name = "years_trading_count")
    private String yearsTradingCount;

    @Column(name = "years_trading_amount")
    private String yearsTradingAmount;

    private String name;

    private String position;

    private String phone;

    /**
     * 市场介绍
     */
    @Column(name = "bazzar_content")
    private String bazzarContent;

    /**
     * @return bazaar_id
     */
    public Integer getBazaarId() {
        return bazaarId;
    }

    /**
     * @param bazaarId
     */
    public void setBazaarId(Integer bazaarId) {
        this.bazaarId = bazaarId;
    }

    /**
     * 获取市场名称
     *
     * @return bazzar_title - 市场名称
     */
    public String getBazzarTitle() {
        return bazzarTitle;
    }

    /**
     * 设置市场名称
     *
     * @param bazzarTitle 市场名称
     */
    public void setBazzarTitle(String bazzarTitle) {
        this.bazzarTitle = bazzarTitle == null ? null : bazzarTitle.trim();
    }

    /**
     * 获取市场描述
     *
     * @return bazzar_description - 市场描述
     */
    public String getBazzarDescription() {
        return bazzarDescription;
    }

    /**
     * 设置市场描述
     *
     * @param bazzarDescription 市场描述
     */
    public void setBazzarDescription(String bazzarDescription) {
        this.bazzarDescription = bazzarDescription == null ? null : bazzarDescription.trim();
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Integer getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Integer createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取数据状态
     *
     * @return status - 数据状态
     */
    public String getStatus() {
        return status;
    }

    /**
     * 设置数据状态
     *
     * @param status 数据状态
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    /**
     * 获取所属省id
     *
     * @return bazzar_provinces - 所属省id
     */
    public Integer getBazzarProvinces() {
        return bazzarProvinces;
    }

    /**
     * 设置所属省id
     *
     * @param bazzarProvinces 所属省id
     */
    public void setBazzarProvinces(Integer bazzarProvinces) {
        this.bazzarProvinces = bazzarProvinces;
    }

    /**
     * 获取所属市id
     *
     * @return bazzar_city - 所属市id
     */
    public Integer getBazzarCity() {
        return bazzarCity;
    }

    /**
     * 设置所属市id
     *
     * @param bazzarCity 所属市id
     */
    public void setBazzarCity(Integer bazzarCity) {
        this.bazzarCity = bazzarCity;
    }

    /**
     * 获取所属区域id
     *
     * @return bazzar_districts - 所属区域id
     */
    public Integer getBazzarDistricts() {
        return bazzarDistricts;
    }

    /**
     * 设置所属区域id
     *
     * @param bazzarDistricts 所属区域id
     */
    public void setBazzarDistricts(Integer bazzarDistricts) {
        this.bazzarDistricts = bazzarDistricts;
    }

    /**
     * 获取详细地址
     *
     * @return bazzar_address - 详细地址
     */
    public String getBazzarAddress() {
        return bazzarAddress;
    }

    /**
     * 设置详细地址
     *
     * @param bazzarAddress 详细地址
     */
    public void setBazzarAddress(String bazzarAddress) {
        this.bazzarAddress = bazzarAddress == null ? null : bazzarAddress.trim();
    }

    /**
     * 获取经度
     *
     * @return bazzar_lng - 经度
     */
    public String getBazzarLng() {
        return bazzarLng;
    }

    /**
     * 设置经度
     *
     * @param bazzarLng 经度
     */
    public void setBazzarLng(String bazzarLng) {
        this.bazzarLng = bazzarLng == null ? null : bazzarLng.trim();
    }

    /**
     * 获取纬度座标
     *
     * @return bazzar_lat - 纬度座标
     */
    public String getBazzarLat() {
        return bazzarLat;
    }

    /**
     * 设置纬度座标
     *
     * @param bazzarLat 纬度座标
     */
    public void setBazzarLat(String bazzarLat) {
        this.bazzarLat = bazzarLat == null ? null : bazzarLat.trim();
    }

    /**
     * 获取0:自营市场 1:合作方市场
     *
     * @return category - 0:自营市场 1:合作方市场
     */
    public String getCategory() {
        return category;
    }

    /**
     * 设置0:自营市场 1:合作方市场
     *
     * @param category 0:自营市场 1:合作方市场
     */
    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    /**
     * @return dealer_count
     */
    public String getDealerCount() {
        return dealerCount;
    }

    /**
     * @param dealerCount
     */
    public void setDealerCount(String dealerCount) {
        this.dealerCount = dealerCount == null ? null : dealerCount.trim();
    }

    /**
     * @return parking_count
     */
    public String getParkingCount() {
        return parkingCount;
    }

    /**
     * @param parkingCount
     */
    public void setParkingCount(String parkingCount) {
        this.parkingCount = parkingCount == null ? null : parkingCount.trim();
    }

    /**
     * @return years_trading_count
     */
    public String getYearsTradingCount() {
        return yearsTradingCount;
    }

    /**
     * @param yearsTradingCount
     */
    public void setYearsTradingCount(String yearsTradingCount) {
        this.yearsTradingCount = yearsTradingCount == null ? null : yearsTradingCount.trim();
    }

    /**
     * @return years_trading_amount
     */
    public String getYearsTradingAmount() {
        return yearsTradingAmount;
    }

    /**
     * @param yearsTradingAmount
     */
    public void setYearsTradingAmount(String yearsTradingAmount) {
        this.yearsTradingAmount = yearsTradingAmount == null ? null : yearsTradingAmount.trim();
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * @return position
     */
    public String getPosition() {
        return position;
    }

    /**
     * @param position
     */
    public void setPosition(String position) {
        this.position = position == null ? null : position.trim();
    }

    /**
     * @return phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone
     */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /**
     * 获取市场介绍
     *
     * @return bazzar_content - 市场介绍
     */
    public String getBazzarContent() {
        return bazzarContent;
    }

    /**
     * 设置市场介绍
     *
     * @param bazzarContent 市场介绍
     */
    public void setBazzarContent(String bazzarContent) {
        this.bazzarContent = bazzarContent == null ? null : bazzarContent.trim();
    }
}